/*
 * PoreGasSourceKernel.C
 *热解气体动量方程中的源项，由固体生成气体，质量守恒
 *  Created on: 2017年8月29日
 *      Author: liuxiao
 */




#pragma once

#include "MUltiPhasePyrolysisMaterial.h"//获得热解热参数
#include "ComputeRhoMaterial.h"//获得热解率参数
#include "Kernel.h"

class PoreGasSourceKernel : public Kernel
{
public:

	PoreGasSourceKernel(const InputParameters & parameters);

protected:
  virtual Real computeQpResidual();
  virtual Real computeQpJacobian();

private:
  const MaterialProperty<Real> & _drhos_dt;
  const MaterialProperty<Real> & _porosity;
};

template<>
InputParameters validParams<PoreGasSourceKernel>();




